/* Location Details - Paddling Description and Image Gallery */

.paddling-description {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-left: 4px solid #2196f3;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.paddling-description h4 {
    margin: 0 0 12px 0;
    color: #1976d2;
    font-size: 1.1rem;
    font-weight: 600;
}

.paddling-description p {
    margin: 0;
    color: #424242;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Image Gallery */
.location-images-gallery {
    margin-bottom: 20px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f5f5f5;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.image-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: translateY(-50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10002;
}

.image-modal-close:hover,
.image-modal-close:focus {
    color: #bbb;
}

.image-modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 50px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-image {
        height: 250px;
    }

    .paddling-description {
        padding: 15px;
    }

    .paddling-description h4 {
        font-size: 1rem;
    }

    .paddling-description p {
        font-size: 0.9rem;
    }

    .image-modal-content {
        max-width: 95%;
        max-height: 80vh;
    }

    .image-modal-close {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }

    .image-modal-caption {
        font-size: 0.95rem;
        width: 90%;
    }
}

@media (max-width: 480px) {
    .gallery-image {
        height: 200px;
    }
}
